package com.wxlsoft.excel.extract;

import java.util.LinkedList;
import java.util.List;

import com.wxlsoft.excel.extract.InterfaceManifest.SheetOutput;

public class SheetDataCollector {

	private final List<SheetOutput> cached = new LinkedList<>();
	
	public void add(SheetOutput output) {
		cached.add(output);
	}	
	
	public void addAll(List<SheetOutput> output) {
		cached.addAll(output);
	}

	public void clear() {
		cached.clear();
	}
	
	public List<SheetOutput> get() {
		return cached;
	}
	
}
